package com.wsoft.bpm.constants;

/**
 * 工作流常量
 *
 * @Author zhonglj
 * @Date 2024-09-19 14:49
 */
public class BpmConstant {
    /**
     * id前缀
     **/
    public static final String GENERATE_ID_PREFIX_EVENT_BASED_GATEWAY = "EventBasedGateway";
    public static final String GENERATE_ID_PREFIX_EXCLUSIVE_GATEWAY = "ExclusiveGateway";
    public static final String GENERATE_ID_PREFIX_INCLUSIVE_GATEWAY = "InclusiveGateway";
    public static final String GENERATE_ID_PREFIX_PARALLEL_GATEWAY = "ParallelGateway";
    public static final String GENERATE_ID_PREFIX_USERTASK = "UserTask";
    public static final String GENERATE_ID_PREFIX_TIME_BOUNDARY_EVENT = "TimeBoundaryEvent";
    public static final String GENERATE_ID_PREFIX_TIME_INTERMEDIATE_EVENT = "IntermediateEvent";
    public static final String GENERATE_ID_PREFIX_MESSAGE_BOUNDARY_EVENT = "MessageBoundaryEvent";
    public static final String GENERATE_ID_PREFIX_MESSAGE_INTERMEDIATE_EVENT = "MessageIntermediateEvent";
    public static final String GENERATE_ID_PREFIX_END_EVENT = "EndEvent";
    public static final String GENERATE_ID_PREFIX_START_EVENT = "StartEvent";
    public static final String GENERATE_ID_PREFIX_PROCESS = "Process";
    /**
     * 自动检测开始事件的启动条件
     */
    public static final String START_PROCESS_ABLE_LISTENER = "${startProcessAbleListener}";
    /**
     * 结束事件自动回调
     */
    public static final String END_EVENT_CALL_BACK_DELEGATE_EXPRESSION = "${endEventCallBackListener}";
    /**
     * 自动检测开始事件的启动条件
     */
    public static final String TASK_DUE_DATE_ACTION_AUTORUN = "autoRun";
    public static final String AUTO_COMPLETE_COMMENT = "自动完成!";

    public static final String PROCESS_DEF_CANDIDATE = "candidate";
    public static final String STOP_PROCESS_INSTANCE_FORCEFULLY = "Forcefully ended by user";
    public static final String DEFAULT_STATUS_COLUMN = "status";
    public static final String DEFAULT_BUSINESS_KEY_COLUMN = "businessCode";
}
